package de.uni.muenster.idw2.data;

import java.util.ArrayList;

public class BoundingBox {
	
	private double lon_bottom_left;
	private double lon_top_right;
	private double lat_bottom_left;
	private double lat_top_right;
	
	private ArrayList<BBBuilding> buildings = new ArrayList<BBBuilding>();
	
	public BoundingBox(double lon_bottom_left, double lon_top_right, double lat_bottom_left, double lat_top_right){
		this.setLat_bottom_left(lat_bottom_left);
		this.setLat_top_right(lat_top_right);
		this.setLon_bottom_left(lon_bottom_left);
		this.setLon_top_right(lon_top_right);
	}

	public ArrayList<BBBuilding> getBuildings() {
		return buildings;
	}
	
	public void addBBBuilding(BBBuilding bbBuilding){
		buildings.add(bbBuilding);
	}

	public void setLon_bottom_left(double lon_bottom_left) {
		this.lon_bottom_left = lon_bottom_left;
	}

	public double getLon_bottom_left() {
		return lon_bottom_left;
	}

	public void setLon_top_right(double lon_top_right) {
		this.lon_top_right = lon_top_right;
	}

	public double getLon_top_right() {
		return lon_top_right;
	}

	public void setLat_bottom_left(double lat_bottom_left) {
		this.lat_bottom_left = lat_bottom_left;
	}

	public double getLat_bottom_left() {
		return lat_bottom_left;
	}

	public void setLat_top_right(double lat_top_right) {
		this.lat_top_right = lat_top_right;
	}

	public double getLat_top_right() {
		return lat_top_right;
	}

}
